
package com.insigma.business.qrcode.soldier.service;


import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.SoldierOuterLoginAccountDTO;
import com.insigma.business.qrcode.soldier.entity.SoldierOuterLoginAccountDO;
import com.insigma.business.qrcode.soldier.request.SoldierOuterLoginAccountBSearcher;

import java.util.List;


public interface SoldierOuterLoginAccountService {
    SoldierOuterLoginAccountDO getByOuterSysTypeAndUserId(final Integer outerSystemType, final String outerSystemAccountId);

    SoldierOuterLoginAccountDO getByIdCardNo(String idCardNo);

    SoldierOuterLoginAccountDO getByZlbId(String outerZlbAccountId);

    Integer delete(final String id, final String modifierType, final String modifierId);

    Integer update(final SoldierOuterLoginAccountDO soldierOuterLoginAccount);

    Integer insert(final SoldierOuterLoginAccountDO soldierOuterLoginAccount);

    List<SoldierOuterLoginAccountDO> search(final SoldierOuterLoginAccountBSearcher innerSearcher);

    Boolean updateRealNameIfMobileExisted(String soldierId, String mobile, String userName);

    SoldierOuterLoginAccountDO getAccountDtoBySoldierId(String soldierId);

    SoldierOuterLoginAccountDO get(final String id);


}
